package io.renren.modules.creditWarning.service;

import io.renren.common.page.PageData;
import io.renren.common.service.CrudService;
import io.renren.modules.creditWarning.dto.CreditApplicationDTO;
import io.renren.modules.creditWarning.entity.CreditApplicationEntity;

import java.util.List;
import java.util.Map;

/**
 * 加分申请表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2024-05-12
 */
public interface CreditApplicationService extends CrudService<CreditApplicationEntity, CreditApplicationDTO> {

    PageData<CreditApplicationDTO> getPage(Map<String, Object> params);

    void updateCreditApplication(CreditApplicationDTO dto);

    List<CreditApplicationDTO> getList(Map<String, Object> params);

    void saveCreditApplication(CreditApplicationDTO dto);
}